package org.learn.test;

public class ConstructorExercise {
    public static void main(String[] args) {
        person01 p1 = new person01();
        System.out.println(p1.age + p1.name);
    }
}
class person01 {
    String name;
    int age;
    //
    public person01(){
       age = 18;
    }
    //
    public person01(String pName,int pAge){
        name = pName;
        age = pAge;
    }
}